<?php $rows = $data['result']; ?>
<?php _view("header"); ?>

<section class='body'>

<?php _view("nav"); ?>

<div class='content'>
	<div class='c'>
	<?php if(is_array($rows) && count($rows) > 0) { ?>
		<h3>Refresh result:</h3>
		<ul class='list'>
		<?php foreach($rows as $r => $v) { ?>
			<li>
				<a class='g' href=''><?=$r;?></a>: <?=$v === true ? "Success!" : "Failed:" . $v;?>
			</li>
		<?php } ?>
		</ul>
	<?php } else { ?>
		<p>You haven't submit any hosts!</p>
	<?php } ?>
	</div>
</div>

<div class='float-clear'></div>
</section>

<?php _view("footer"); ?>
